package com.push.xu.xpush.core;

import android.content.Context;

import com.push.xu.xpush.entity.PushCommand;
import com.push.xu.xpush.entity.PushMsg;


public interface ZPushReceiverInterface {

    /**
     * When you received notice
     *
     * @param context
     * @param msg
     */
    void onReceiveNotification(Context context, PushMsg msg);

    /**
     * When you received the notice by clicking
     *
     * @param context
     * @param msg
     */
    void onReceiveNotificationClick(Context context, PushMsg msg);

    /**
     * When I received passthrough message
     *
     * @param context
     * @param msg
     */
    void onReceiveMessage(Context context, PushMsg msg);

    /**
     * When the client calls to execute the command, the callback
     * @param context
     * @param command
     */
    void onCommandResult(Context context, PushCommand command);
    
    void onOtherMessage(Context context);

}
